package com.cskaoyan.service;

import com.cskaoyan.bean.WxOrderBaseData;
import com.cskaoyan.bean.bo.WxOrderGoodsCommentBO;
import com.cskaoyan.bean.bo.WxOrderIdBO;
import com.cskaoyan.bean.bo.WxOrderListBO;
import com.cskaoyan.bean.bo.WxOrderSubmitBO;
import com.cskaoyan.bean.pojo.MallOrderGoods;
import com.cskaoyan.bean.vo.WxOrderDataBeanVO;
import com.cskaoyan.bean.vo.WxOrderDetailVO;

/**
 * @author JJ
 * @description 微信服务接口
 * @time 2021/7/11 22:38
 */
public interface WxOrderService {

    WxOrderBaseData<WxOrderDataBeanVO> getListByWx(WxOrderListBO listBO);

    WxOrderDetailVO getDetailByWx(Integer orderId);

    void prepayByWx(String orderId);

    Integer submitByWx(WxOrderSubmitBO wxOrderSubmitBO);

    Integer cancelByWx(WxOrderIdBO orderId);

    Integer refundByWx(WxOrderIdBO orderId);

    Integer deleteByWx(WxOrderIdBO orderId);

    Integer confirmByWx(WxOrderIdBO orderId);

    MallOrderGoods getGoodsByWx(Integer orderId, Integer goodsId);

    Integer commentByWx(WxOrderGoodsCommentBO wxOrderGoodsCommentBO);
}
